/* 改变主题色变量 */

.el-dialog {
  border-radius: 2px;
}

::-webkit-scrollbar-track-piece {
  background-color: #f8f8f8;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-thumb {
  background-color: #dddddd;
  background-clip: padding-box;
  min-height: 28px;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #bbb;
}


// .el-button--primary {
//     --el-button-font-color: #ffffff;
//     --el-button-background-color: #4D70FF;
//     --el-button-border-color: #4D70FF;
//     --el-button-hover-color: #0d84ff;
//     --el-button-active-font-color: #e6e6e6;
//     --el-button-active-background-color: #0d84ff;
//     --el-button-active-border-color: #0d84ff;
// }

// .el-button--primary {
//     --el-button-font-color: #ffffff;
//     --el-button-background-color: #4D70FF;
//     --el-button-border-color: #4D70FF;
//     --el-button-hover-color: #0d84ff;
//     --el-button-active-font-color: #e6e6e6;
//     --el-button-active-background-color: #0d84ff;
//     --el-button-active-border-color: #0d84ff;
// }



.el-pagination {
  --el-pagination-button-width: 28px;
  --el-pagination-button-height: 28px;
}

input::-webkit-input-placeholder {
  // color: red;
  font-size: 12px;
}

input::-moz-input-placeholder {
  // color: red;
  font-size: 12px;
}

input::-ms-input-placeholder {
  // color: red;
  font-size: 12px;
}

// 滚动条样式
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  position: absolute;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(144, 147, 153, 0.3);
}

::-webkit-scrollbar-track {
  background-color: #fff;
}

.el-scrollbar__bar.is-vertical {
  width: 5px;
}

*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

.el-scrollbar {
  .el-scrollbar__wrap {
    overflow-x: hidden;
  }
}

.el-select-dropdown {
  .el-scrollbar {
    .el-scrollbar__wrap {
      overflow: scroll;
    }
  }
}

.el-cascader-panel {
  .el-scrollbar {
    .el-scrollbar__wrap {
      overflow: scroll;
    }
  }
}

.page-container {
  height: calc(100% - 20px);
  margin: 10px 0 10px 10px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.el-card.el-form-card {
  .el-card__header {
    color: #333;
    font-size: 14px;
    font-weight: bold;
    padding: 12px 20px;
    background: #f4f9ff;
    position: relative;

    &::before {
      content: '';
      position: absolute;
      width: 5px;
      height: 15px;
      background: #126cff;
      margin-right: 10px;
      left: 10px;
      top: 12px;
    }
  }
}

.el-form-card + .el-form-card {
  margin-top: 15px;
}

// 表单相关
.el-form-item__label {
  font-weight: 400;
  font-size: 14px;
  padding: 0;
  color: #606266;
}

// 图标按钮
.icon-btn {
  .iconfont {
    font-size: 18px;
  }
}

.pagination-container {
  // margin-top: 5px;
  margin-top: 10px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  // padding-right: 10px;
  padding-right: 0;
}

.search-form {
  display: flex;

  .search-form-group {
    .el-form-item__label {
      font-size: 14px;
    }

    .el-form-item {
      margin-bottom: 10px;
    }

    .el-input-number--mini {
      width: 100px;
    }

    .el-input-number--small {
      width: 120px;
    }
  }

  .search-btn-group {
    // justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* 区划组件禁止点击 */
.can-not-click {
  z-index: -1;
}

// 表单按钮颜色
// 新增
// .btn-text-edit {
// 	color: #e6a23c;
// }

// // 查看
// .btn-text-view {
// 	color: #126cff;
// }

// // 删除
// .btn-text-del {
// 	color: #f56c6c;
// }

.table-container {
  flex: 1;
  // margin: 10px;
}

.search-form-line {
  display: flex;
  justify-content: flex-end;

  .el-form-item + .el-form-item {
    margin-left: 10px;
  }

  .end-age {
    margin-left: 10px;
  }
}

.space-content-20 {
  height: 20px;
}

.pub-dialog {
  .el-dialog__header {
    padding: 10px 20px 10px;
    background-color: rgb(238, 241, 246);

    .el-dialog__title {
      line-height: 24px;
      font-size: 14px;
      font-weight: bolder;
      color: #3a8ee6;
    }

    .el-dialog__headerbtn {
      top: 0px !important;
      width: 44px !important;
      height: 44px !important;
      .el-dialog__close:hover {
        transform: rotate(180deg);
        transition: 0.5s;
      }
    }
  }
}

.form-item-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0 !important;
  .el-form-item__content {
    flex: none !important;
  }
}

// .form-container {
//   position: relative;
//   background-color: #fff;
.form-back-btn {
  // position: fixed;
  // right: 25px;
  // top: 86px;
  // z-index:99999
}

/* 区划组件禁止点击 */
.can-not-click {
  z-index: -1;
}

.el-table--mini,
.el-table--small,
.el-table__expand-icon {
  font-size: 12px !important;
}

.el-table .el-table__cell .cell {
  // font-size: 12px !important;
}

.el-table__empty-text {
  font-size: 12px !important;
}

.el-table--fit {
  height: 100%;
}

.el-table--small .el-table__cell {
  padding: 6px 0 !important;
}

.el-table .el-table__cell {
  // padding: 6px 0 !important;
}

//@at-root
.custom-description-label {
  width: 120px;
  background: #f4f9ff !important;
  color: #333 !important;
  height: 45px;
  // text-align: right!important;
}

.custom-description-label-80 {
  width: 80px;
  background: #f4f9ff !important;
  color: #333 !important;
  height: 45px;
  // text-align: right!important;
}

.el-descriptions {
  .is-bordered {
    table-layout: fixed;
  }
}

.el-descriptions {
  &.layout-auto {
    .is-bordered {
      table-layout: auto;
    }
  }
}

.custom-description-label-140 {
  width: 140px;
  background: #f4f9ff !important;
  color: #333 !important;
  height: 45px;
  // text-align: right!important;
}

.custom-description-label-120 {
  width: 120px;
  background: #f4f9ff !important;
  color: #333 !important;
  height: 45px;
  // text-align: right!important;
}

.custom-description-label-160 {
  width: 160px;
  background: #f4f9ff !important;
  color: #333 !important;
  height: 45px;
  // text-align: right!important;
}

.custom-description-label-180 {
  width: 180px;
  background: #f4f9ff !important;
  color: #333 !important;
  height: 45px;
  // text-align: right!important;
}

.custom-description-label-200 {
  width: 200px;
  background: #f4f9ff !important;
  color: #333 !important;
  height: 45px;
  // text-align: right!important;
}

.custom-description-label-30percent {
  width: 30%;
  background: #f4f9ff !important;
  color: #333 !important;
  height: 45px;
  // text-align: right!important;
}

.custom-description-label-1 {
  width: 15%;
  background: #f4f9ff !important;
  color: #333 !important;
  height: 45px;
  // text-align: right!important;
}

.custom-description-label-2 {
  width: 15%;
  background: #f4f9ff !important;
  color: #333 !important;
  height: 45px;
  // text-align: right!important;
}

.custom-description-label-3 {
  width: 130px;
  background: #f4f9ff !important;
  color: #333 !important;
  height: 45px;
  // text-align: right!important;
}

.custom-description-label-80 {
  width: 80px;
  background: #f4f9ff !important;
  color: #333 !important;
  height: 45px;
}

.custom-description-label-100 {
  width: 100px;
  background: #f4f9ff !important;
  color: #333 !important;
  height: 45px;
}

/*  */
.colorRed {
  color: red;
}

.colorBlue {
  color: #409eff;
}

.colorGreen {
  color: green;
}

.el-image-viewer__wrapper {
  z-index: 1000000000000000 !important;
}

.el-card {
  &.dingdan-card {
    margin: 10px 0;
    font-size: 12px;

    .el-card__header {
      padding: 15px !important;
    }
  }
}

.el-card {
  &.jg-detail-top-card {
    // height: 240px;
    margin: 10px 0;
    font-size: 12px;

    .el-card__header {
      padding: 15px !important;

      .orgName {
        font-size: 18px;
        font-weight: bold;
      }
    }
  }
}

// 全部滚动条
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  position: absolute;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(144, 147, 153, 0.3);
}

::-webkit-scrollbar-track {
  background-color: #fff;
}

.el-scrollbar__bar.is-vertical {
  width: 5px;
}

.zhsjzs {
  .el-progress-bar__innerText {
    color: blue;
  }
}

// 工作台
.commonWork {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #c1c1c1;
  font-size: 5rem;
  transform: rotate(-22deg);
}

// 去除默认边距
ul {
  margin: 0;
  padding: 0;
}

ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rzlr {
  .el-loading-mask {
    background-color: transparent !important;
  }
}

// 自定义loading样式
@keyframes load {
  0% {
    transform: scale(1);
    background-color: #efefef;
  }

  50% {
    transform: scale(1.2);
    background-color: #ff6f19;
  }

  100% {
    transform: scale(1);
    background-color: #efefef;
  }
}

.smallLoading {
  width: 25px !important;
  height: 25px;
  position: relative;
  display: inline-block;
}

.smallLoading span {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: #efefef;
  border-radius: 50%;
  animation: load 1s linear infinite;
}

/* 每个圈圈的位置设置，和动画执行的时间 */
.smallLoading span:first-child {
  top: 0;
  left: 50%;
  margin-left: -2.5px;
  margin-top: -2.5px;
  animation-delay: 0s;
}

.smallLoading span:nth-child(2) {
  top: 25%;
  left: 25%;
  margin-top: -5px;
  margin-left: -5px;
  animation-delay: 0.125s;
}

.smallLoading span:nth-child(3) {
  top: 50%;
  left: 0;
  margin-top: -2.5px;
  margin-left: -2.5px;
  animation-delay: 0.25s;
}

.smallLoading span:nth-child(4) {
  bottom: 25%;
  left: 25%;
  margin-left: -5px;
  margin-bottom: -5px;
  animation-delay: 0.375s;
}

.smallLoading span:nth-child(5) {
  bottom: 0;
  left: 50%;
  margin-left: -2.5px;
  margin-bottom: -2.5px;
  animation-delay: 0.5s;
}

.smallLoading span:nth-child(6) {
  bottom: 25%;
  right: 25%;
  margin-bottom: -5px;
  margin-right: -5px;
  animation-delay: 0.625s;
}

.smallLoading span:nth-child(7) {
  top: 50%;
  right: 0;
  margin-top: -2.5px;
  margin-right: -2.5px;
  animation-delay: 0.75s;
}

.smallLoading span:last-child {
  top: 25%;
  right: 25%;
  margin-top: -5px;
  margin-right: -5px;
  animation-delay: 0.875s;
}

.map-container {
  .el-pagination__total {
    color: #fff !important;
  }
}

.text-overflow-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.commonWork {
  user-select: none;
}

.btn-table-search {
  margin-left: 10px;
}

.input-readonly {
  input {
    border: none !important;
  }
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-space-around {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.m-l-10 {
  margin-left: 10px;
}

.click-span {
  color: #007aff;
  cursor: pointer;
}

.color-red {
  color: red;
}

.amap-sug-result {
  z-index: 10000000;
}

.el-dialog__body {
  overflow: auto !important;
  padding: 0 !important;
  max-height: 90vh !important;
}


.el-radio {
  // margin: 8px;
  // font-size: 14px;
  font-weight: normal;
}
:deep(.el-radio__label) {
  font-size: 14px;
}
.el-checkbox {
  font-weight: normal;
}

